import 'package:flutter/material.dart';

///
/// 商品模型
///
class Product {
  final String? imageName, title, description;
  final int? price, size, id;
  final Color? color;

  Product({
    this.imageName,
    this.title,
    this.description,
    this.price,
    this.size,
    this.id,
    this.color,
  });
}

///
/// 模拟个数据源
///
String dummyText = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since. When an unknown printer took a galley.";

List<Product> products = [
  Product(
    id: 1,
    title: "Office Code",
    price: 234,
    size: 12,
    description: dummyText,
    imageName: "bag_1",
    color: const Color(0xFF3D82AE),
  ),
  Product(
    id: 2,
    title: "Belt Bag",
    price: 145,
    size: 8,
    description: dummyText,
    imageName: "bag_2",
    color: const Color(0xFFD3A984),
  ),
  Product(
    id: 3,
    title: "Hang Top",
    price: 32,
    size: 10,
    description: dummyText,
    imageName: "bag_3",
    color: const Color(0xFF989493),
  ),
  Product(
    id: 4,
    title: "Old Fashion",
    price: 1475,
    size: 11,
    description: dummyText,
    imageName: "bag_4",
    color: const Color(0xFFE6B398),
  ),
  Product(
    id: 5,
    title: "Office Code",
    price: 963,
    size: 12,
    description: dummyText,
    imageName: "bag_5",
    color: const Color(0xFFFB7883),
  ),
  Product(
    id: 6,
    title: "Office Code",
    price: 1478,
    size: 12,
    description: dummyText,
    imageName: "bag_6",
    color: const Color(0xFFAEAEAE),
  ),
];
